@CHARSET "UTF-8";

/*!
 * =================================
 * New Page Style
 * @author: mylan93@163.com
 * =================================
 */

/* ! Style Check List
 * =================================
 * Utility
 * ====================
 * Page
 * ====================
 * Modal
 * =================================
 */
 
 .clearfix {
  *zoom: 1;
}

.clearfix:before, .clearfix:after {
  display: table;
  content: "";
  line-height: 0;
}

.clearfix:after {
  clear: both;
}

.text-yellow {
    color: #F3DC4E;
}

.no-margin {
  margin: 0px;
}

/*
 * =================================
 *  Page oral-view
 * =================================
 */
 
.hide {
  display: none;
}

.dark-header {
    background-color: #23242A;
    color: #fff;
}

.dark-header h1 {
    color: #FFF;
}

.oral-start-btn {
  position: absolute;
  left: 0;
  bottom: 1%;
  width: 100%;
  transform: translateY(-50%);
  -wekit-transform: translateY(-50%);
}

.oral-start-btn a {
  display: block;
  margin: 0 auto;
  width: 5rem;
  height: 5rem;
  line-height: 4.4rem;
  text-align: center;
  color: #FFF;
  font-size: 1.4rem;
  border-radius: 100%;
  border: .3rem solid #eaeaea;
  background-color: #f55f61;
}

.clock-warp {
    margin: 0 .8rem;
}

.clock {
    width: 100%;
    height: 3rem;
    line-height: 3rem;
    border-radius: .5rem;
    border: 1px solid #b8d8ec;
    color: #232323;
    font-size: 2rem;
}

.question-viewer {
    font-size: 3.6rem;
    line-height: 5rem;
}


/**
 * ==================
 * Modal
 * ==================
 */
.grade-modal,
.grade-modal .modal-inner,
.grade-modal .result-modal-inner,
.grade-modal .modal-button,
.grade-modal .result-modal-button {
  background-color: #fff;
}

.result-modal.grade-modal {
    width: 14rem;
    margin-left: -7rem;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}

.star-group {
    padding: 1rem 0 .75rem 0;
}

.grade-modal .modal-inner,
.grade-modal .result-modal-inner {
  padding: .75rem 0 0 0;
  border-radius: .35rem;
}

.modal-title,
.result-modal-title {
  position: relative;
  margin-bottom: .75rem;
}

.grade-title {
  margin: 0;
}

.grade-seconds {
  display: inline-block;
  background-color: #FEC900;
  height: 1rem;
  margin: 0 .2rem;
  line-height: 1rem;
  padding: 0 .3rem;
  color: #000;
  border-radius: .1rem;
}

.close-tips,
.close-modal {
  position: absolute;
  right: .75rem;
  top: -2px;
  display: inline-block;
  padding: .25rem;
  width: 1.5rem;
  height: 1.5rem;
}

.close-tips img,
.close-modal img {
    width: 100%;
}

.grade-modal .modal-button:after,
.grade-modal .result-modal-button:after {
    height: 0;
}

.grade-modal modal-button a,
.grade-modal .result-modal-button a {
  display: block;
}

.grade-star {
    padding-bottom: 1rem;
    background-color: #313538;
}

.item-after .star-group,
.item-subtitle .star-group {
  padding: 0px;
}

.star-group > p {
    margin: 0;
    color: #C0C4C7;
    font-size: .6rem;
}

.star-group .star {
  margin: 0 .2rem;
  display: inline-block;
  width: 1.8rem;
  height: 1.8rem;
  vertical-align: middle;
  background: url('../images/star.png') no-repeat;
  background-size: 100%;
}

.star-group .star.active {
  background: url('../images/star-hover.png') no-repeat;
  background-size: 100%;
}

.item-after .star-group .star,
.item-subtitle .star-group .star {
  width: .7rem;
  vertical-align: initial;
  height: .7rem;
  margin: 0;
}

.grade-target {
  padding: .2rem 0;
  height: 2rem;
  line-height: 1.6rem;
  font-size: .6rem;
  color: #C0C4C7;
  text-align: center;
  background: rgba(0,0,0,.7);
}

.grade-intro  {
    padding: 0 1rem;
    margin-bottom: 1rem;
    font-size: .65rem;
    color: #9C9C9C;
    text-align: left;
}

.qrcode {
    display: block;
    margin: .5rem auto 0 auto;
    width: 7rem;
}

.record-list ul,
.record-list li{
  list-style: none;
  margin: 0px;
  padding: 0px;
}

.record-list p {
  padding-bottom: 0px;
  margin-bottom: .4rem;
  text-align:center;
  color: #666;
  font-size: .6rem;
  /* padding: 1rem; color: #999; font-size: .6rem;  */
}

.record-list .card {
  margin: .3rem .75rem;
  max-height: 5rem;
  overflow: scroll;
  border: 1px solid #c8c9cb;
  box-shadow: none;
}

.record-list .card .card-content-inner {
  padding: .3rem .75rem;
}

.record-list .record-time {
  float: left;
  line-height: 1.4rem;
}

.record-stat .star-group,
.record-list .star-group {
  float: right;
  padding: 0px;
}

.record-list .star-group .star {
  height: .8rem;
  width: .8rem;
  margin: 0;
  vertical-align: bottom;
}

.record-stat .star-group .star {
  height: .8rem;
  width: .8rem;
  margin: 0;
  vertical-align: baseline;
}

.question-records {
  list-style: none;
  margin: 0px;
  padding: 0px;
  border: 1px solid #E1E1E1;
  border-radius: .4rem;
}

.index-grid {
  width: 33.33%;
  position: relative;
}

.index-grid a {
  display: block;
  padding: 1.1rem 0rem;
  text-align: center;
  font-size: .8rem;
  color: #333;
  width: 5rem;
  height: 5rem;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-top: -2.5rem;
  margin-left: -2.5rem;
}

.index-grid a .fa {
  font-size: 27px !important;
}

.index-grid a small {
  line-height: 2rem;
  display: inline-block;
}

.question-records li {
  list-style: none;
  margin: 0px;
  padding: 0 .75rem;
  border-bottom: 1px solid #E1E1E1;
}

.question-records li p {
  margin: 0px;
  line-height: 2rem;
}

.question-records li p.result {
  margin-left: 1rem;
  margin-top: .4rem;
  height: 1.2rem;
  line-height: 1.2rem;
  padding: 0 .5rem;
  border-radius: .3rem;
  background-color: #4CD964;
  color: #fff;
}

.question-records li p.result.fail {
  background-color: #F6383A;
}

.question-records li.branch {
  position: relative;
  padding-left: 2.2rem;
}

.question-records li.branch:BEFORE {
  position: absolute;
  content: '支';
  left: .75rem;
  height: 1.2rem;
  top: .4rem;
  line-height: 1.2rem;
  background-color: #ccc;
  width: 1.2rem;
  border-radius: .4rem;
  text-align: center;
  color: #fff;
}

.result-overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(169, 177, 187, .6);
  z-index: 10600;
  visibility: hidden;
  opacity: 0;
  -webkit-transition-duration: .4s;
  transition-duration: .4s;
}

.result-overlay-visible {
  visibility: visible;
  opacity: 1;
}

.result-modal {
  width: 13.5rem;
  position: absolute;
  z-index: 11000;
  left: 50%;
  margin-left: -6.75rem;
  margin-top: 0;
  top: 50%;
  text-align: center;
  border-radius: .35rem;
  opacity: 0;
  -webkit-transform: translate3d(0,0,0) scale(1.185);
  transform: translate3d(0,0,0) scale(1.185);
  -webkit-transition-property: -webkit-transform,opacity;
  transition-property: transform,opacity;
  color: #3d4145;
  display: none;
}

.result-modal.result-modal-in {
  opacity: 1;
  -webkit-transition-duration: .4s;
  transition-duration: .4s;
  -webkit-transform: translate3d(0,0,0) scale(1);
  transform: translate3d(0,0,0) scale(1);
}

.result-modal-inner {
  padding: .75rem;
  border-radius: .35rem .35rem 0 0;
  position: relative;
  background: #e8e8e8;
}

.result-modal-title {
  font-weight: 500;
  font-size: .9rem;
  text-align: center;
  position: relative;
  margin-bottom: .75rem;
}

.result-modal-buttons {
  height: 2.2rem;
  overflow: hidden;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  border-bottom-left-radius: .3rem;
  border-bottom-right-radius: .3rem;
}

.result-modal-button {
  width: 100%;
  padding: 0 .25rem;
  height: 2.2rem;
  font-size: .85rem;
  line-height: 2.2rem;
  text-align: center;
  color: #0894ec;
  background: #e8e8e8;
  display: block;
  position: relative;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  cursor: pointer;
  box-sizing: border-box;
  -webkit-box-flex: 1;
  -ms-flex: 1;
}


.result-modal-button:first-child {
    border-radius: 0 0 0 .35rem
}

.result-modal-button:last-child {
    border-radius: 0 0 .35rem 0
}

.result-modal-button:last-child:after {
    display: none
}

.result-modal-button:first-child:last-child {
    border-radius: 0 0 .35rem .35rem
}